﻿@using Kugar.UI.Web.AdminLTE

@inject AdminLTEUI WebUI


@{
    WebUI.IsIFrameVersion = true;
    Layout = AdminLTEUI.LayoutPath.DefaultLayoutPath;

    ViewContext.ViewData["IsInPage"] = true;
}

@section styles{

    <link href="@(AdminLTEUI.LayoutPath.ResourceBaseUrl)/Content/css/AdminLTEUI.iframe.css?v=@(AdminLTEUI.InternalFileMD5.AdminLTEUI_iframe_css)" rel="stylesheet" asp-append-version="true" />

    @RenderSection("styles", false)
}


<!--bootstrap tab风格 多标签页-->
<div class="content-tabs">
    <button class="roll-nav roll-left tabLeft" onclick="WebUIJS_Frame.scrollTabLeft()">
        <i class="fa fa-backward"></i>
    </button>
    <nav class="page-tabs menuTabs tab-ui-menu" id="tab-menu">
        <div class="page-tabs-content" style="margin-left: 0px;">
            <div class="clearfix"></div>
        </div>
    </nav>
    <button class="roll-nav roll-right tabRight" onclick="WebUIJS_Frame.scrollTabRight()">
        <i class="fa fa-forward" style="margin-left: 3px;"></i>
    </button>
    <div class="btn-group roll-nav roll-right">
        <button class="dropdown tabClose" >
            页签操作<i class="fa fa-caret-down" style="padding-left: 3px;"></i>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" style="min-width: 98px;">
            <li><a class="tabReload" href="javascript:WebUIJS_Frame.refreshTab();">刷新当前</a></li>
            <li><a class="tabCloseCurrent" href="javascript:WebUIJS_Frame.closeCurrentTab();">关闭当前</a></li>
            <li><a class="tabCloseAll" href="javascript:WebUIJS_Frame.closeOtherTabs(true);">关闭全部</a></li>
            <li><a class="tabCloseOther" href="javascript:WebUIJS_Frame.closeOtherTabs();">关闭其它</a></li>
        </ul>
    </div>
</div>
<div class="content-iframe " style="background-color: #ffffff; ">
    <div class="tab-content " id="tab-content">
        @RenderBody()
        <div class="clearfix"></div>
    </div>
    <div class="clearfix"></div>
</div>


@section logo{
    @if (!this.IsSectionDefined("logo"))
    {
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini">K</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">后台管理系统</span>
    }
    else
    {
        @RenderSection("logo", false)
    }
}

@section footer{
    @RenderSection("footer", false)
}


@section scripts{
    
    <script>
        var defaultIndexUrl = '@WebUI.DefaultIndexWhenIFrame';

    </script>

    <script src="@(AdminLTEUI.LayoutPath.ResourceBaseUrl)/Content/js/WebUIJS.iframe.js?v=@(AdminLTEUI.InternalFileMD5.AdminLTEUI_iframe_css)"></script>

    @RenderSection("scripts", false)
}